/*
$(document).ready(function(){
	$("#item_search_text").keydown(function(key){
		if(key.keyCode == 13){ //if enter key is hit
			if($("#item_search_text").val() != "")
				search_item($("#item_search_text").val());
		}
	});
	$("#item_search_button").click(function(){
		if($("#item_search_text").val() != "")
			search_item($("#item_search_text").val());
	});
});
*/

function checkParameter(e){
	if(!e) e = window.event;
	
	if(e.keyCode == 13){ // if enter key is hit
		if($("#uname").val() == "" && $("#fname").val() == "" && $("#lname").val() == ""){
			alert("test " + e);
			return false;
		}else{
			return true;
		}
	}
}

function test(){
	alert("test");
}
